<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:60:"D:\phpStudy\WWW\a\public/../app1/index\view\index\Index.html";i:1489128224;}*/ ?>
<style>
.api-list{
	margin:0px 0px;
 	float:left;
 	width:45%;
 }
.api-list li{border:1px solid #666;
 padding:10px;
 margin-bottom:10px;
}
.api-list li form{line-height:45px;}
.api-list li form label{display:inline-block; width:80px;text-align:right;padding:0 5px 0 0;}
.frame{	
	float:right;
}

.api-list li form .sub{
	margin-left:85px; 
}
</style>


<h2>接口列表</h2>
<div class="api-list">
<ol>
	<li>
		<h3>用户登录 /index/Index/login</h3>
		<form method="post" action="/index/Index/login" target="frame">
			<label>用户名</label><input name="user_name" ><br/>
			<label>密码</label><input name="user_password" ><br/>
			<input type="submit" value="提交" class="sub">
		</form>
	</li>
	<li>
		<h3>用户退出/index/Index/quit</h3>
		<form method="post" action="/index/Index/quit" target="frame">
			<input type="submit" value="退出" class="sub">
		</form>
	</li>
	<li>
		<h3>用户注册/index/Index/regist</h3>
		<form method="post" action="/index/Index/regist" target="frame">
			<label>用户名</label><input name="user_name" ><br/>
			<label>密码</label><input name="user_password" ><br/>
			<input type="submit" value="注册" class="sub">
		</form>
	</li>
	<li>
		<h3>帖子列表/index/Index/postList</h3>
		<form method="post" action="/index/Index/postList" target="frame">
			<label>第几页</label><input name="page"/><br />
			<input type="submit" value="提交" class="sub">
		</form>
	</li>
	<li>
		<h3>帖子详情/index/Index/postDetail</h3>
		<form method="post" action="/index/Index/postDetail" target="frame">
			<label>帖子ID</label><input name="id"/><br/>
			<label>第几页</label><input name="page"><br/>
			<input type="submit" value="提交" class="sub">
		</form>
	</li>
        <li>
		<h3>帖子创建/index/Index/post</h3>
		<form method="post" action="/index/Index/post" target="frame">
			<label>帖子标题</label><input name="title"/><br/>
			<label>内容</label><input name="content"><br/>
			<input type="submit" value="提交" class="sub">
		</form>
	</li>
	 <li>
		<h3>帖子回复/index/Index/postReply</h3>
		<form method="post" action="/index/Index/postReply" target="frame">
		    <label>主贴ID</label><input name="id"/><br/>
			<label>内容</label><input name="content"><br/>
			<input type="submit" value="提交" class="sub">
		</form>
	</li>
        <li>
		<h3>帖子删除index/Index/postDelete</h3>
		<form method="post" action="/index/Index/postDelete" target="frame">
			<label>帖子ID</label><input name="id"/><br/>
			<input type="submit" value="提交" class="sub">
		</form>
	</li>
	<li>
		<h3>帖子编辑index/Index/postEdit</h3>
		<form method="post" action="/index/Index/postEdit" target="frame">
			<label>帖子ID</label><input name="id"/><br/>
			<label>帖子标题</label><input name="title"/><br/>
			<label>帖子内容</label><input name="content"/><br/>
			<input type="submit" value="提交" class="sub">
		</form>
	</li>
</ol>
</div>

<div class="frame" style="position:fixed;top:5px;right:5px;">
	<iframe style="width:700px;height:1000px;border:1px solid #999;" name="frame">
	
	
	</iframe>
</div>

